package com.yxb.cms.dao;

import com.yxb.cms.dao.expmle.StuCourseExample;
import com.yxb.cms.domain.vo.StuCourse;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface StuCourseMapper {
    long countByExample(StuCourseExample example);

    int deleteByExample(StuCourseExample example);

    int deleteByPrimaryKey(Long id);

    int insert(StuCourse record);

    int insertSelective(StuCourse record);

    List<StuCourse> selectByExample(StuCourseExample example);

    StuCourse selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") StuCourse record, @Param("example") StuCourseExample example);

    int updateByExample(@Param("record") StuCourse record, @Param("example") StuCourseExample example);

    int updateByPrimaryKeySelective(StuCourse record);

    int updateByPrimaryKey(StuCourse record);

    List<StuCourse> selectStuCoursePage( @Param("record") StuCourse record, @Param("userName") String userName);

    long count(StuCourse record);
}